import {navigateBack, navigateTo} from '@/_framework/services/Taro';

export async function goBack() {
    await navigateBack()
}

export async function goMallHome() {
    await navigateTo('mall', 'home');
}

export async function goMallCart() {
    await navigateTo('mall', 'cart');
}

export async function goMallSearch() {
    await navigateTo('mall', 'search');
}

export async function goMallUser() {
    await navigateTo('mall', 'user');
}